home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / ssusage.z / ssusage
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSSSSSUUUUSSSSAAAAGGGGEEEE((((1111))))                                                          SSSSSSSSUUUUSSSSAAAAGGGGEEEE((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssusage - run a command, and print out the resources it used
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ssssssssuuuussssaaaaggggeeee command [args]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _s_s_u_s_a_g_e is a SpeedShop executable that runs a process from the given
  16.      command and arguments, and prints out a summary of the resources used
  17.      during the run.  It is used in exactly the same way as time(1), but
  18.      prints additional information.
  19.  
  20.      The usage information is printed to stderr in the form:
  21.       1.89 real, 0.04 user, 0.29 sys, 15 majf, 2 minf, 0 sw, 1 rb, 0 wb, 21 vcx, 38 icx 854, mxrss
  22.  
  23.      The real, user, and sys fields give the real-time, user-CPU time, and
  24.      system-CPU time, respectively.
  25.  
  26.      majf gives major page faults, _i._e., those causing physical I/O.
  27.  
  28.      minf gives minor page faults,  _i._e., those requiring mapping only.
  29.  
  30.      sw gives process swaps.
  31.  
  32.      rb and wb give physical blocks read and written, respectively.  Note that
  33.      these are attributed to the process which first requests a block, but do
  34.      not necessarily directly correlate with the process' own I/O operations.
  35.  
  36.      vcx gives voluntary context switches, that is, those caused by the
  37.      process' own actions.
  38.  
  39.      icx gives involuntary context switches, those caused by the scheduler.
  40.  
  41.      mxrss gives the maximum resident set size of the program, including any
  42.      shared pages, in kilobytes.
  43.  
  44.      In addition, if the command terminates abnormally, a message to that
  45.      effect is printed before the usage line.
  46.  
  47. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.      speedshop(1), getrusage(3)
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.